package com.bs.bszhsq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName file
 */
@TableName(value ="file")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Files implements Serializable {
    /**
     * id

     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 文件名称
     */
    private String name;

    /**
     * 文件类型
     */
    private String type;

    /**
     * 文件大小
     */
    private Long size;

    /**
     * 下载链接
     */
    private String url;

    /**
     * 0是未删除，1是已删除
     */
    @TableField("is_delete")
    private String isDelete;

    /**
     * 0是启用，1是禁用
     */
    @TableField("is_enable")
    private String isEnable;

    private String md5;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}